package com.example.demo.service;

import com.example.demo.domain.entity.TrainingSubmission;
import com.example.demo.dto.ExamSubmissionPageDto;
import com.example.demo.dto.HomeworkSubmissionPageDto;
import com.example.demo.dto.TrainingSubmissionPageDto;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface SubmissionService {


    List<Map<String, Object>> getNumberOfSubmissionsGroupByDay(Date startTime, Date endTime, long uid, boolean isAcceptedOnly);


    ExamSubmissionPageDto getExamSubmissionRecord(String examName, String userName, String problemName, int page, int size);

    HomeworkSubmissionPageDto getHomeworkSubmissionRecord(String className, String userName, String problemName, int page, int size);
}
